TAGs: calculate compound interest